Skip to content

Conversation

@seviet
Copy link
Contributor

@seviet seviet commented Feb 23, 2025

Description

Fixes #

Note: If you are not associated with Google, open an issue for discussion before submitting a pull request.

Checklist

Readiness

  • Yes, merge this PR after it is approved
  • No, don't merge this PR after it is approved

Style

Testing

Intended location

  • Yes, this sample will be (or already is) included on cloud.google.com
    Location(s):

  • No, this sample won't be included on cloud.google.com
    Reason:

API enablement

  • If the sample needs an API enabled to pass testing, I have added the service to the Test setup file

Review

  • If this sample adds a new directory, I have added codeowners to the CODEOWNERS file

@seviet seviet requested a review from a team as a code owner February 23, 2025 23:58
@snippet-bot
Copy link

snippet-bot bot commented Feb 23, 2025

Here is the summary of changes.

You are about to add 8 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@glasnt
Copy link
Contributor

glasnt commented Feb 26, 2025

/gcbrun

@glasnt
Copy link
Contributor

glasnt commented Feb 26, 2025

Linting is failing with whitespace issues:

./cloud_sql/mysql_instance_switchover/switchover_finish/main.tf:25:# Terraform has compared your real infrastructure against your configuration and found no differences, 
./cloud_sql/mysql_instance_switchover/switchover_finish/main.tf:40:  # replica_names = [] # If you previously defined a replica_names field in your template, then delete the DR replica 
./cloud_sql/mysql_instance_switchover/switchover_finish/main.tf:41:  # (new primary) from the list of replicas.  Don't delete the entire replica_names field. 
./cloud_sql/mysql_instance_switchover/switchover_finish/main.tf:42:  # Instead set the field to an empty string. For example, replica_names = [""]. 
./cloud_sql/postgres_instance_switchover/switchover_finish/main.tf:24:# Terraform has compared your real infrastructure against your configuration and found no differences, 
./cloud_sql/postgres_instance_switchover/switchover_finish/main.tf:39:  # replica_names = [] # If you previously defined a replica_names field in your template, then delete the DR replica 
./cloud_sql/postgres_instance_switchover/switchover_finish/main.tf:40:  # (new primary) from the list of replicas.  Don't delete the entire replica_names field. 
./cloud_sql/postgres_instance_switchover/switchover_finish/main.tf:41:  # Instead set the field to an empty string. For example, replica_names = [""]. 
Error: Trailing whitespace found in the lines above.

@glasnt
Copy link
Contributor

glasnt commented Feb 26, 2025

/gcbrun

@glasnt
Copy link
Contributor

glasnt commented Feb 26, 2025

/gcbrun

@glasnt
Copy link
Contributor

glasnt commented Feb 26, 2025

/gcbrun

@glasnt
Copy link
Contributor

glasnt commented Feb 26, 2025

/gcbrun

@glasnt glasnt merged commit 1316dbe into terraform-google-modules:main Feb 26, 2025
5 checks passed
niharika-98 pushed a commit to niharika-98/terraform-docs-samples that referenced this pull request Sep 7, 2025
… PostgreSQL (terraform-google-modules#814)

* feat: Add MySQL & PostgreSQL samples for Advanced DR switchover

* Fix region tag

* Update test.yaml

Fix tag name

* Update test.yaml

update tag name

* Update test.yaml

update tag name

* lint: whitespace

* lint: whitespace

* Remove unnecessary comments

* Remove unnecessary comments

* Remove unnecessary comments

* linting

* lint

---------

Co-authored-by: Katie McLaughlin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants